﻿<div style="display:none; background-color:lightgray; width:600px; height:270px; top:150px; left:250px; border:2px solid black; position: absolute">
    <table>
        <thead>
            <tr>
                <td><span id="sitedialog_title"></span></td>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Site Name</td>
                <td><input id="sitedialog_name" type="text" /></td>
            </tr>
            <tr>
                <td>Domain Url</td>
                <td><input id="sitedialog_domain" type="text" /></td>
            </tr>
            <tr>
                <td>Referral Link Pattern</td>
                <td><input id="sitedialog_pattern" type="text" /></td>
            </tr>
            <tr>
                <td></td>
                <td>
                    Please use these placeholders to create your pattern: <br />
                    <strong>{root}</strong> - for the domain url<br />
                    <strong>{path}</strong> - for the virtual path of the url<br />
                    <strong>{id}</strong> - for the referral id<br />
                    Ex.: {root}/mref/{id}/{path}<br />
                    Result: http://www.yoursite.com/mref/q89r43/somefolder/somepage
                </td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td>
                    <input id="sitedialog_ok" type="button" value="Save" />
                    <input id="sitedialog_cancel" type="button" value="Cancel" />
                </td>
            </tr>
        </tfoot>
    </table>
</div>